<!doctype html>
<html class="no-js">
<head>
    <link rel="stylesheet" href="${rootPath!''}/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="${rootPath!''}/assets/css/admin.css">
</head>
<body style="width: 100%;height: 100%;">
<!-- content start -->
<div class="admin-content">

    <!-- 导航 开始 -->
    <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">使用记录</strong><small></small></div>
    </div>
    <!-- 导航 结束 -->

    <!-- 功能键和导航 开始 -->
    <div class="am-g">

        <!-- 左边，功能键开始 -->
        <div class="am-u-sm-12 am-u-md-6">
            <div class="am-btn-toolbar">
                <div class="am-btn-group am-btn-group-xs">
                    <%if(so.hasPermission("GymController.export")){%>
                        <a href="${rootPath!''}/gym/export?userId=${userId}" class="am-btn am-btn-success" > 导出</a>
                    <%}%>
                </div>
            </div>
        </div>
        <!-- 左边，功能键结束 -->
        <form action="${rootPath}/gym/useList">
            <input type="hidden" id="userId" value="${userId}">
            <button type="button" onclick="history.go(-1);" class="am-btn am-btn-primary"><span class="am-icon-arrow-left"></span> 返回</button>
        </form>
    </div>
    <!-- 功能键和导航 结束 -->

    <!-- 内容 开始 -->
    <div class="am-g">
        <div class="am-u-sm-12">

            <form class="am-form">
                <table class="am-table am-table-striped am-table-hover table-main">
                    <thead>
                    <tr class="am-active">
                        <th class="table-check"><input type="checkbox" onclick="checkbox( this.checked ,'checkbox_list')" /></th>
                        <th class="table-title">流水号</th>
                        <th class="table-title">验证时间</th>
                        <th class="table-title">验证码</th>
                        <th class="table-title">门店名</th>
                    </tr>
                    </thead>
                    <tbody>
                    <%
                    for(data in list.list){
                    %>
                    <tr>
                        <td><input type="checkbox" value="${data.couponUseLogId}" class="checkbox_list" /></td>
                        <td> ${data.orderCode} </td>
                        <td> ${data.useTime} </td>
                        <td> ${data.checkCode} </td>
                        <td> ${data.neckName} </td>
                    </tr>
                    <%}%>
                    </tbody>
                </table>
            </form>

            <!-- 分页 开始 -->
            <div class="am-cf" id="page"><input type="hidden" id="pageValue" value="${list.totalRow}_${list.pageSize}_${list.pageNumber}_5_${rootPath}/gym/useList/"> </div>
            <!-- 分页 结束 -->

        </div>
    </div>
</div>
<!-- content end -->
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="${rootPath}/assets/js/polyfill/rem.min.js"></script>
<script src="${rootPath}/assets/js/polyfill/respond.min.js"></script>
<script src="${rootPath}/assets/js/amazeui.legacy.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="${rootPath}/assets/js/jquery.min.js"></script>
<script src="${rootPath}/assets/js/amazeui.min.js"></script>
<!--<![endif]-->
<script src="${rootPath}/assets/js/app.js"></script>
<script src="${rootPath}/ext/js/page.js"></script>
<script type="text/javascript">
    function openModal(){
        window.top.openModal();
    }
</script>
</body>
</html>